// import API.request from '@/utils/API.request'
import baseAPI from '@/api/base'

let API = new baseAPI('dop-szny-zlxlsvvue-admin')

// 查询在线用户列表
export function list(query) {
  return API.request({
    url: '/monitor/online/list',
    method: 'get',
    params: query
  })
}

// 强退用户
export function forceLogout(tokenId) {
  return API.request({
    url: '/monitor/online/' + tokenId,
    method: 'delete'
  })
}
